<?php
	global $_W,$_GPC;
	if($_W['role']&&$_W['isajax']){
		$id = $_GPC['cid'];
		$del = pdo_delete('mii_ang_card',array('id'=>$id));
		if($del){
			exit(json_encode(array('status'=>'1','msg'=>'删除成功')));
		}else{
			exit(json_encode(array('status'=>'2','msg'=>'删除失败')));	
		}
	}else{
		exit(json_encode(array('status'=>'2','msg'=>'没有操作权限')));
	}

?>